package com.example.zwx.myapplication.Callback;

import com.example.zwx.myapplication.BleIRData;

/**
 * ble设备发送结果回调
 * <p/>
 * Created by Administrator on 2016/2/25.
 */
public interface OnBleSendListener {

    /**
     * ble 设备不可用或者设备不支持ble
     */
    int RESULT_BLUETOOTH_NOT_AVALIBALE = 0;

    /**
     * 当前设备没有打开ble设备
     */
    int RESULT_BLUETOOTH_NOT_ENABLE = 1;

    /**
     * ble 当前设备未连接ble外设
     */
    int RESULT_BLEDEVICE_NOT_CONNECTED = 2;

    /**
     * 当前连接设备上未找到相应服务
     */
    int RESULT_GATT_SERCICE_NOT_FOUND = 3;

    void onResult(BleIRData data);

}
